<?php

namespace app\controller;

class AdminRoleMenu
{
    public static function getMenuPermission(\app\model\AdminRoleMenu $model, int $roleId)
    {
        $model->roleId = $roleId;
        return $model->getMenuPermission();
    }

    public static function getSignInUserMenuPermisson(\app\model\AdminRoleMenu $model, string $roleId)
    {
        $model->roleId = $roleId;
        return $model->getSignInUserMenuPermisson();
    }
}